<template>
	<view scroll-with-animation scroll-y style="height: 100%;position: relative;background-color: #F6FAFA;">
		<view class="empty-list">
			<image style="height: 280rpx;" mode="heightFix" src="../static/imgs/fgcg@2x.png"></image>
			<view style="color: #FE9539;margin-top: 20rpx;margin-bottom: 20rpx;font-size: 34rpx;">{{msg}}</view>
			<view style="font-size: 26rpx;color: #868C8C;margin-bottom: 20rpx;">您的处方复购已完成 请到处方中心进行支付</view>
			<view style="color: #2A82E4;" @click="tohome">点我跳转</view>
			<!-- <view class="btn"  @click="tohome">确定</view> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				msg:''
			};
		},
		onLoad(option) {
			this.msg = option.msg
		},
		methods: {
			tohome(){
				uni.redirectTo({
					url: '/pages/myrecipe/index'
				});
			},
		}
	};
</script>

<style lang="less">
	.empty-list{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100vw;
		height: 100vh;
		background-color: #FFFFFF;
		.btn{
			width: 320rpx;
			height: 88rpx;
			line-height: 88rpx;
			text-align: center;
			color: #FFFFFF;
			background: #BE965B;
			border-radius: 10rpx;
		}
	}
</style>
